import {UserInfo} from "../types/user-info";

export const userStore = {
  state: {
    userInfo: {
      nickName: null,
      avatarUrl: null
    }
  },
  mutations: {
    setUserInfo(state, payload: UserInfo) {
      state.userInfo = payload;
    },
  }
};
